package com.kordar.admin.enums;

public enum CommonActive implements EnumCommonFacade<Integer> {

    OPEN(1, "开启"),
    CLOSE(0, "关闭");

    private Integer code;
    private String name;

    CommonActive(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
